package com.woniuxy.store.infra.model;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author zz
 * @since 2023-07-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("store_contract")
public class StoreContract implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 合同ID
     */
    @TableId(value = "contract_id", type = IdType.AUTO)
    private Integer contractId;

    /**
     * 商家ID
     */
    private Integer storeId;

    /**
     * 套餐功能关联ID
     */
    private Integer packageFunctionId;

    /**
     * 缴费金额
     */
    private BigDecimal payAmount;

    /**
     * 缴费时间
     */
    private Date payTime;

    /**
     * 到期时间
     */
    private Date expirationTime;

    /**
     * 续期年限
     */
    private Integer payYears;

    /**
     * 提现利率
     */
    private Double withdrawalRate;

    /**
     * 商家账户ID
     */
    private Integer storeWalletId;

    /**
     * 支付状态
     */
    private String payState;

    /**
     * 合同编号
     */
    private String contractNum;

}
